package com.example.springbootsfzy.mapper;

import com.example.springbootsfzy.domain.PublicWelfareActivities;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Mapper;

/**
* @author 30658
* @description 针对表【public_welfare_activities】的数据库操作Mapper
* @createDate 2025-01-02 15:11:37
* @Entity com.example.springbootsfzy.domain.PublicWelfareActivities
*/

public interface PublicWelfareActivitiesMapper {

    int deleteByPrimaryKey(int id);

    int insert(PublicWelfareActivities record);

    int insertSelective(PublicWelfareActivities record);

    PublicWelfareActivities selectByPrimaryKey(int id);

    int updateByPrimaryKeySelective(PublicWelfareActivities record);

    int updateByPrimaryKey(PublicWelfareActivities record);

    Page<PublicWelfareActivities> getAllArticles();

    Page<PublicWelfareActivities> getArticlesByConsultantId(int consultantId);
}
